import util

from google.appengine.ext import webapp

from Manager import Manager

class ApagarAchado( webapp.RequestHandler ):
	
	@util.loginRequired
	def get( self ):
		manager = Manager()
		key = self.request.get( 'key' )
		manager.apagarAchado( key )
		self.redirect( '/meus-achados' )
